package com.example.seckill.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.math.BigDecimal;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author vicente
 * @since 2021-08-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
public class TSeckillOrder extends Model<TSeckillOrder> {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long seckillGoodsId;

    private Long userId;

    private String seckillGoodsName;
    private BigDecimal seckillGoodsPrice;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
